
/* start /scripts/_pages/weapons.js*/

var hide_handler=function(index){var i=11;index=index.substring(5);while(i--){$('.call_'+i).hide();$('#call_'+i).removeClass('active_state');}
$('.call_'+index).fadeIn('fast');$('#call_'+index).addClass('active_state');};$(document).ready(function(){var i=11;$('.display_boxes').hide();$('.call_1').fadeIn(1000);while(i--){$('#call_'+i).click(function(event){hide_handler(this.id);return false;});}});

/* end /scripts/_pages/weapons.js*/

/* start /web-platform/scripts/web-platform/component/global-nav.js*/

(function(){var nonMember=_.template($("script.non-member").html());var member=_.template($("script.member").html());if(globs.wdl.userLoggedIn==true){$.ajax({url:'/get-rest-ticket',type:'POST',data:{type:0},context:this,success:function(sid){$.ajax({url:globs.urls.uramAjaxUrl+"/rest/commerce/11/allaccessinfo.action",dataType:"json",data:{'responseType':"json",'sessionID':sid.successPayload.ticket,},success:function(data){var memberData={scGrantDate:data.scGrantDate,scGrantClaimed:data.scGrantClaimed,mbExpirationDate:data.expirationDate};$('.mb-scBalance').text(data.scBalance);if(data.akella==false){if(data.member==false){$('#mb-all-access').html(nonMember());$('#mb-isMember').text('Try');}else{$('#mb-all-access').html(member(memberData));$('#mb-isMember').text('My');$("#membershipLink").click(function(){window.location.href=globs.urls.membershipMembership;});};}}})}})}else{$('#mb-all-access').html(nonMember());}})();

/* end /web-platform/scripts/web-platform/component/global-nav.js*/
